<?php 

function logIn(){
	//require("./base/configBase.php");
	$db = mysql_connect('localhost', 'sharein', 'itin2012')  or die('Erreur de connexion '.mysql_error());
	//$db = mysql_connect(HOST, USER, PASSWORD)  or die('Erreur de connexion '.mysql_error());
	mysql_select_db('sharein',$db)  or die('Erreur de selection '.mysql_error()); 
}

function logOut(){
	mysql_close();
}

?>